<template>
    <div>
        this is users:{{username}}
        <div>to:{{to}}</div>
        <div>from:{{from}}</div>
    </div>
</template>

<script>

export default {
  name: 'about',
  props:['username'],
  data () {
     return {msg:'fdf',to:'',from:''}
  },
  watch: {
    $route(to, from) {
       this.to=to.path;
       this.from=from.path;
    }
  }

}
</script>

<style lang="scss">

</style>
